package com.ruoyi.generator.service;

import com.ruoyi.generator.entity.*;
import com.ruoyi.generator.entity.bo.PlanScheduleInfoBO;
import com.ruoyi.generator.vo.MaintenanceAppVO;

import java.util.List;

public interface AppService {

    List<MaintenanceAppVO> getMaintenanceList(String type);

    /**
     * app保养提交按钮 修改问题状态
     *
     * @param maintenanceAppVO
     * @return
     */
    int editMaintenance(MaintenanceAppVO maintenanceAppVO);

    List<Equipment> getEquipmentByAreaId(String areaId);

    List<Area> getAreaList();


    List<ClUser> getClUserList();
    /**
     * 根据设备编号获取设备检测信息
     *
     * @param planAssociation
     * @return
     */
    List<PlanScheduleInfoBO> getEquipmentPlanInfo(PlanAssociation planAssociation);


    ImportWaterQuality getExportWaterData();

    ImportWaterQuality getImportWaterData();

    void addMsg (UserMsg userMsg);

    List<UserMsg> getMsgList(Integer limit);
}
